package com.fmjava.controller;

import com.fmjava.ServiceImpl.EmployeeServiceImpl;
import com.fmjava.ServiceImpl.UserServiceImpl;
import com.fmjava.domain.User;
import com.fmjava.service.EmployeeService;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

import com.fmjava.ServiceImpl.EmployeeServiceImpl;
        import com.fmjava.service.EmployeeService;
import com.fmjava.service.UserService;

import javax.servlet.ServletException;
        import javax.servlet.annotation.WebServlet;
        import javax.servlet.http.HttpServlet;
        import javax.servlet.http.HttpServletRequest;
        import javax.servlet.http.HttpServletResponse;
        import java.io.IOException;

@WebServlet("/AlterPasswordServlet")
public class AlterPasswordServlet extends HttpServlet {
    @Override
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String id=request.getParameter("id");
        request.setAttribute("id",id);//代码高亮处理

        request.getRequestDispatcher("/WEB-INF/admin_alterPassword.jsp").forward(request, response);
    }
}